filter Not To Option
inline fun filterNotToOption(predicate: (R) -> Boolean): Option<Either<L, R>>
Content copied to clipboard
Returns Some containing the same Right if the predicate is not satisfied for the value. Otherwise returns None.
Return
Some containing the same Right if the predicate is not satisfied for the value. Otherwise returns None.
Since
1.3
Parameters
predicate
Predicate function.